﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.Data.DisplayOptions2
{
   public interface  IsObjectChanged
  //public abstract  class IsObjectChanged
    {


        bool IsDataValueChanged();


        bool IsObjectChanged();





        //public static bool operator ==(DOEntity sp1, DOEntity sp2)
        //{
        //    // check for both null (cast to object or recursive loop)
        //    if ((object)sp1 == null && (object)sp2 == null)
        //    {
        //        return true;
        //    }
        //    // check for either of them == to null
        //    if ((object)sp1 == null || (object)sp2 == null)
        //    {
        //        return false;
        //    }
        //    if (sp1._color != sp2.Color || sp1.DisplayShape != sp2.DisplayShape || sp1.Size != sp2.Size || sp1.Enabled != sp2.Enabled)
        //    {
        //        return false;
        //    }
        //    else
        //    {
        //        return true;
        //    }
        //}
        //public static bool operator !=(DOEntity sp1, DOEntity sp2)
        //{
        //    return !(sp1 == sp2);
        //}



    }
}
